<?php

use Illuminate\Database\Seeder;
use App\Models\Admin;

class AdminSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $user = ['username' => 'admin', 'password' => 'admin'];
        Admin::updateOrCreate(['username' => $user['username']], $user);
    }
}
